package yl.hs.bmipfull.service.equipment;

import yl.hs.bmipfull.pojo.equipment.DeviceMaintainEntity;
import yl.hs.bmipfull.pojo.equipment.EquipmentEntity;
import yl.hs.bmipfull.service.IBaseService;
import yl.hs.bmipfull.viewmodels.PageQuery;
import yl.hs.bmipfull.viewmodels.PageResult;
import yl.hs.bmipfull.viewmodels.SubmitModel;

/*
 * IDeviceMaintainService
 * @category
 * @author 谢景广
 * @date 2022-11-15
 */
public interface IDeviceMaintainService extends IBaseService {

    PageResult<DeviceMaintainEntity> queryPage(PageQuery query, int rowNum, int page);

    Integer save(SubmitModel model) throws Exception;

    Integer delete(String[] snArray );

    DeviceMaintainEntity findBySN(String sn);
}
